home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_kdelibs.idb / usr / freeware / kde / include / jserror.h.z / jserror.h
Encoding:
C/C++ Source or Header  |  1999-01-26  |  1.2 KB  |  34 lines

  1. /* This file is part of the KDE libraries
  2.     Copyright (C) 1997 Torben Weis (weis@kde.org)
  3.  
  4.     This library is free software; you can redistribute it and/or
  5.     modify it under the terms of the GNU Library General Public
  6.     License as published by the Free Software Foundation; either
  7.     version 2 of the License, or (at your option) any later version.
  8.  
  9.     This library is distributed in the hope that it will be useful,
  10.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  11.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  12.     Library General Public License for more details.
  13.  
  14.     You should have received a copy of the GNU Library General Public License
  15.     along with this library; see the file COPYING.LIB.  If not, write to
  16.     the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  17.     Boston, MA 02111-1307, USA.
  18. */
  19. #ifndef JSERROR_H
  20. #define JSERROR_H
  21.  
  22. #define ERROR_JSNone 0
  23. #define ERROR_JSInternal 1
  24. #define ERROR_JSNotALeftValue 2
  25. #define ERROR_JSNotARightValue 3
  26. #define ERROR_JSUnknownIdentifier 4
  27. #define ERROR_JSOperatorNotAllowed 5
  28. #define ERROR_JSNotAFunction 6
  29. #define ERROR_JSNoInstance 7
  30. #define ERROR_JSIndexOutOfRange 8
  31. #define ERROR_JSNotAInteger 9
  32.  
  33. #endif
  34.